@import '../../../lessConst.less';

.pageGoldCoinsExchangePa {
  width: 100vw;
  overflow: hidden;
  height: 100vh;

  .header {
    background: url('@{iplandUrl}receiveGoldCoins/exchangeTitleBj.png') no-repeat;
    background-size: 100% 100%;
    // height: 400px;
    height: 25vh;
    position: sticky;

    .navbar {
      position: relative;

      .navBarContent {
        position: absolute;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        .navTitle {
          color: #fff;
          font-weight: 500;
        }

        .at-icon-chevron-left {
          color: #fff;
          position: absolute;
          left: 32px;
          font-size: 40px;
        }
      }
    }

    .exchangeInfo {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: row;

      .info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-left: 32px;
        padding-top: 10px;

        .jindou {
          width: 48px;
          height: 48px;
        }

        .goldCoins {
          font-size: 80px;
          // font-family: DINPro-Bold, DINPro;
          font-weight: bold;
          color: #ffffff;
          padding: 0 20px;
        }

        .infoExtra {
          color: #ffffff;
          font-size: 24px;
          padding-top: 20px;
        }
      }

      .illustrate {
        display: flex;
        flex-direction: row;
        background-color: #fff;
        align-items: center;
        justify-content: center;
        opacity: 0.7;
        width: 132px;
        height: 48px;
        border-radius: 36px 0 0 36px;

        .questionIcon {
          width: 28px;
          height: 28px;
        }

        .illustrateExtra {
          font-size: 20px;
          // font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #fc863d;
        }
      }
    }
  }

  .emptyContent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;

    .emptyIcon {
      width: 404px;
      height: 404px;
    }

    .emptyExtraTitle {
      color: #999999;
      margin-top: -76px;
      font-size: 24px;
    }
  }

  .loadingContent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
  }

  .exchangeContent {
    padding: 30px 32px;
    background-color: #fff;
    border-radius: 40px 40px 0 0;
    margin-top: -90px;
    height: 75vh;
    z-index: 9;

    .scrollViewContent {
      height: 75vh;
    }

    .exchangeList {
      margin-top: 20px;

      .exchangeItem {
        flex-direction: row;
        background: url('@{iplandUrl}receiveGoldCoins/exchangeItemBj.png') no-repeat;
        background-size: 100% 100%;
        height: 160px;
        margin: 15px 0;
        display: flex;
        align-items: center;
        justify-content: center;

        .left {
          display: flex;
          align-items: center;
          justify-content: center;

          .leftThum {
            width: 120px;
            height: 120px;
            border-radius: 20px;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;

            .typeIcon {
              width: 80px;
              height: 80px;
            }
          }
        }

        .middle {
          .typeName {
            font-size: 28px;
            // font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #333333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
            width: 80%;
          }

          .typeEndTime {
            font-size: 20px;
            // font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #666666;
            height: 20px;
            margin-bottom: 10px;
          }

          .typeExchange {
            display: flex;
            flex-direction: row;
            align-items: center;

            .jindouIcon {
              height: 28px;
              width: 28px;
            }

            .exchangeNum {
              font-size: 28px;
              // font-family: PingFangSC-Medium, PingFang SC;
              font-weight: 500;
              color: #ff3a0b;
              padding-left: 5px;
            }
          }
        }

        .right {
          .exchangeDefault {
            width: 156px;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 28px;
          }

          .exchangeOperate {
            color: #fff;
            background: linear-gradient(90deg, #ff9608 0%, #fe6006 100%);
          }

          .exchangeOperateGet {
            color: #fff9f5;
            background-color: #ccc;
          }
        }
      }
    }
  }
}
